import com.alibaba.druid.pool.DruidDataSourceFactory;

import javax.sql.DataSource;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Properties;

public class Testdb {
    public static void main(String[] args) throws Exception {
       // jdbclearn jdbclearn = new jdbclearn();
        //        jdbclearn jdbclearn = new jdbclearn("root", "123456", "hh");
      //jdbclearn.updateDate( "update dept set where idcard=?");
       // jdbclearn.delateDate("delete from dept where id=?");
       // jdbclearn.insertDate("insert into stu_mark values(null,?,?,?)");
       //jdbclearn.selectDate();
        //testdbzuoye testdbzuoye = new testdbzuoye();
        //testdbzuoye.insert("insert into stud values(?,?,?,?,?)");
       // testdbzuoye.delate("delete from stud where name=?");
        //testdbzuoye.update("update stud set major=? where name=?");
       // testdbzuoye.select("select *from stud");
        StudentMan studentMan = new StudentMan();
        //studentMan.print();
        studentMan.addstu();
    }
}
